package com.unswift.window.listener;

import javax.swing.JTabbedPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

public class TabChangeListener implements ChangeListener{

	@Override
	public void stateChanged(ChangeEvent e) {
		JTabbedPane tabs=(JTabbedPane)e.getSource();
		int index=tabs.getSelectedIndex();
		if(index==0){
			
		}else if(index==1){
			
		}
	}

}
